package com.wframe.project.jnd.extinterface.oss;

import com.wframe.framework.spring.SpringContextHolder;

public class AliyunOssConfig {

	private String accessId;
	private String accessSecret;
	private String endpoint;
	private String bucket;
	private int expireTime;
	
	public static AliyunOssConfig getConfig(){
		return SpringContextHolder.getBean("aliyunOssConfig");
	}
	public String getAccessId() {
		return accessId;
	}
	public void setAccessId(String accessId) {
		this.accessId = accessId;
	}
	public String getAccessSecret() {
		return accessSecret;
	}
	public void setAccessSecret(String accessSecret) {
		this.accessSecret = accessSecret;
	}
	public String getBucket() {
		return bucket;
	}
	public void setBucket(String bucket) {
		this.bucket = bucket;
	}
	public String getEndpoint() {
		return endpoint;
	}
	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}
	public int getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(int expireTime) {
		this.expireTime = expireTime;
	}
	
	
}
